package com.fl.nj.entity;

import lombok.Data;
import java.util.Date;

/**
 * 数据库信息实体类
 * 用于映射到数据库表，存储从数据库配置获取的库信息
 */
@Data
public class DbInfo {
    private Long id;
    private Long dbConfigId;
    private String dbName;
    private String dbType;
    private int tablesCount = 0;
    private String status = "NORMAL"; // NORMAL, ERROR, SYNCING
    private String description;
    private Date syncTime;
    private Date createTime;
    private Date updateTime;
}